package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("主键表接口调用参数")
public class TableIdSizeEvt {

    @ApiModelProperty("表名")
    private String tableName;
    @ApiModelProperty("可用id范围长度")
    private int size = 1;

    public TableIdSizeEvt(String tableName, int size){
        this.tableName = tableName;
        this.size = size;
    }
    public TableIdSizeEvt(String tableName){
        this.tableName = tableName;

    }
    public TableIdSizeEvt(){

    }
    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "TableIdSizeEvt{" +
                "tableName=" + tableName +
                ", size='" + size +'}';
    }
}
